package com.querie.dao;

import java.util.List;

import com.querie.model.beans.Fragment;

public interface FragmentDAO {
	Fragment load(final long id) throws Exception;

	public int delete(final long id) throws Exception;

	public int update(final Fragment data) throws Exception;

	public long insert(final Fragment data) throws Exception;

	public List<Fragment> queryAll() throws Exception;

	public List<Fragment> queryAllWithPage(int startOfPage, int...pageSize) throws Exception;

	public int deleteAll() throws Exception;
	
	public int alterTable() throws Exception;
}